package com.woniu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.pojo.Admin;
import org.apache.ibatis.annotations.Select;

/**
* @author Ma.Lei
* @description 针对表【t_admin】的数据库操作Mapper
* @createDate 2022-12-16 23:27:03
* @Entity generator.domain.Admin
*/
public interface AdminMapper extends BaseMapper<Admin> {

    @Select("select * from t_admin where phone = #{phone}")
    Admin getByPhone(String phone);
}




